/** 获取设置窗口title */
export const useTitle = () => {
    const setTitle = (title) => document.title = title;
    const getTitle = () => document.title;
    return {
        setTitle,
        getTitle
    };
};
